`ifndef FIFO_TRANSACTION_SV
`define FIFO_TRANSACTION_SV

`include "uvm_macros.svh"
import uvm_pkg::*;

class fifo_transcation extends uvm_sequence_item;
  
  rand bit[15:0] dmac;

  
  function new(string name = "fifo_transcation");
    super.new();
  endfunction
  
  function void my_print_mon_in();
    $display("monitor input dmac = %d at %d",dmac,$time);
  endfunction
  
  function void my_print_mon_out();
	$display("monitor output dmac = %d at %d",dmac,$time);
  endfunction
  
  `uvm_object_utils_begin(fifo_transcation)
      `uvm_field_int(dmac, UVM_ALL_ON)
   `uvm_object_utils_end
endclass

`endif
